<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>

<!DOCTYPE html>
<html>
	<head>
		<title>临时约课</title>
		<meta name="decorator" content="default"/>
		<script type="text/javascript">
			$(function() {
				//初始化表单验证
				$("#inputForm").initValidform();
			});
		</script>
		
	</head>
	
	<body class="mainbody">
		<sys:message content="${message}"/>
		<form:form id="inputForm" modelAttribute="courseOrder" action="${ctx}/qd/temporder/save" method="post" class="form-horizontal">
			<form:hidden path="id"/>
			<!--内容-->
			<div id="floatHead" class="content-tab-wrap">
				<div class="content-tab">
					<div class="content-tab-ul-wrap">
						<ul>
							<li><a class="selected" href="javascript:;">临时约课</a></li>
						</ul>
					</div>
				</div>
			</div>
	
			<div class="tab-content">
				<dl>
					<dt>课程ID</dt>
					<dd>
						<form:input path="course.id" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="*请输入课程ID" errormsg="*请输入课程ID" sucmsg=" "/>
						<span class="Validform_checktip">*课程ID点击该课程可见</span>
					</dd>
				</dl>
				<dl>
					<dt>合同ID</dt>
					<dd>
						<form:input path="contract.id" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="*请输入合同ID" errormsg="*请输入合同ID" sucmsg=" "/>
						<span class="Validform_checktip">*合同ID点击查看合同可见</span>
					</dd>
				</dl>
				<dl>
					<dt>扣费金额</dt>
					<dd>
						<form:input path="actualPayPrice" htmlEscape="false" maxlength="50" class="required" cssClass="input normal" datatype="*" nullmsg="*请输入扣费金额" errormsg="*请输入扣费金额" sucmsg=" "/>
						<span class="Validform_checktip">*请输入扣费金额</span>
					</dd>
				</dl>
			</div>
			<!--/内容-->
	
			<!--工具栏-->
			<div class="page-footer">
				<div class="btn-wrap" align="center">
					<input type="submit" name="btnSubmit" value="确认预约" id="btnSubmit" class="btn yellow" /> 
				</div>
			</div>
			<!--/工具栏-->
		</form:form>
	</body>
</html>

